<template>
  <view class="content">
    <web-view :src="src" />
  </view>
</template>

<script>
  export default {
    data() {
      return {
        title: '',
        src:'https://www.baidu.com/',
      }
    },
    onLoad(options) {
      uni.setNavigationBarTitle({
        title: options.title
      });
      this.title = options.title
    },
    methods: {}
  }
</script>

<style lang="scss" scoped>
  .content {
    display: flex;
    flex-direction: column; 
    padding:0 32rpx;
    
  }
  
</style>